package com.house.mapper;

import com.house.pojo.Housestyle;
import com.house.pojo.HousestyleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HousestyleMapper {
    int countByExample(HousestyleExample example);

    int deleteByExample(HousestyleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Housestyle record);

    int insertSelective(Housestyle record);

    List<Housestyle> selectByExample(HousestyleExample example);

    Housestyle selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Housestyle record, @Param("example") HousestyleExample example);

    int updateByExample(@Param("record") Housestyle record, @Param("example") HousestyleExample example);

    int updateByPrimaryKeySelective(Housestyle record);

    int updateByPrimaryKey(Housestyle record);
    
    List<Housestyle> selectBystyleSize(Integer styleSize);
}